package com.my.spvideo.dao.mysql.baidumv;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.my.spvideo.vo.UserLogin;


public interface UserLoginMapper {

	int getUserLoginListCount(@Param("username") String username);

	List<UserLogin> getUserLoginList(@Param("startNum")int startNum, @Param("pageSize")int pageSize,
											@Param("username") String username);

	int saveUserLogin(@Param("userLogin")UserLogin userLogin);

	UserLogin selectOne(@Param("id")int id);

	int editRole(@Param("userLogin")UserLogin userLogin);

	int editPassWord(@Param("userLogin")UserLogin userLogin);

	int deleteInfo(@Param("userLogin")UserLogin userLogin);

	UserLogin login(@Param("username")String username,@Param("password")String password);
	
	String selectUsername(@Param("id")int id);
	
	UserLogin selectByUsername(@Param("username")String username);
	
	int selectCountByChannelUsername(@Param("username")String username);
	
	
	List<UserLogin> getUserLoginOne(@Param("id")int id);
	
	List<UserLogin> selectLikeUserName(@Param("userName")String userName);
	
	int selectUserNameId(@Param("userName")String userName);
	
	List<UserLogin> selectTwoChannelName(@Param("twoChannelName")String twoChannelName);
	
	UserLogin selectByTwoUserName(@Param("twoUserName")String twoUserName);
	
	
}
